package com.fc.v2.model.auto;

import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import cn.hutool.core.date.DateUtil;
import java.util.Date;

public class Campus implements Serializable {
    private static final long serialVersionUID = 1L;

	
	@ApiModelProperty(value = "id")
	private Integer id;
	
	@ApiModelProperty(value = "名称")
	private String name;
	
	@ApiModelProperty(value = "")
	private String cover;
	
	@ApiModelProperty(value = "所在省份")
	private Integer provinceId;
	
	@ApiModelProperty(value = "所在城市")
	private Integer cityId;
	
	@ApiModelProperty(value = "详细地址")
	private String address;
	
	@ApiModelProperty(value = "所属机构")
	private Integer mechanismId;
	
	@ApiModelProperty(value = "状态 0 禁用  1 启用")
	private Integer status;
	
	@JsonProperty("id")
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id =  id;
	}
	@JsonProperty("name")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name =  name;
	}
	@JsonProperty("cover")
	public String getCover() {
		return cover;
	}

	public void setCover(String cover) {
		this.cover =  cover;
	}
	@JsonProperty("provinceId")
	public Integer getProvinceId() {
		return provinceId;
	}

	public void setProvinceId(Integer provinceId) {
		this.provinceId =  provinceId;
	}
	@JsonProperty("cityId")
	public Integer getCityId() {
		return cityId;
	}

	public void setCityId(Integer cityId) {
		this.cityId =  cityId;
	}
	@JsonProperty("address")
	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address =  address;
	}
	@JsonProperty("mechanismId")
	public Integer getMechanismId() {
		return mechanismId;
	}

	public void setMechanismId(Integer mechanismId) {
		this.mechanismId =  mechanismId;
	}
	@JsonProperty("status")
	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status =  status;
	}

																
	public Campus(Integer id,String name,String cover,Integer provinceId,Integer cityId,String address,Integer mechanismId,Integer status) {
				
		this.id = id;
				
		this.name = name;
				
		this.cover = cover;
				
		this.provinceId = provinceId;
				
		this.cityId = cityId;
				
		this.address = address;
				
		this.mechanismId = mechanismId;
				
		this.status = status;
				
	}

	public Campus() {
	    super();
	}

	

}